package com.forezp.thinking.chapter8;

import com.sun.tools.internal.xjc.generator.bean.field.NoExtendedContentField;

import java.util.concurrent.TimeUnit;

/**
 * Created by forezp on 2017/12/1.
 */
public class Music {

    public static void tune(Instruct instruct) {
        instruct.play(Note.B_NOTE);
    }

    public static void main(String[] args) {
        //Wind wind = new Wind();
        WoodWind wind=new WoodWind();
        tune(wind);
    }
}
